with open('datebase_02.txt') as file_object_01:
    lines = file_object_01.readlines()
pi_string = ''
for line in lines:
    pi_string += line.rstrip()
print(pi_string)
print(len(pi_string))
#我们发现以上代码输出的结果会出现空格
#如何解决呢？
#只需改变rstrip to strip
print("")

with open('datebase_02.txt') as file_object_02:
    lines = file_object_02.readlines()
pi_string = ''
for line in lines:
    pi_string += line.strip()
print(pi_string)
print(len(pi_string))
